// import App from './App'
import Vue from 'vue'
import VueRouter from 'vue-router'
// import Router from './router'
import home from '@/components/home'
import huiyuan from '@/components/huiyuan'
import shopping from '@/components/shopping'
import search from '@/components/search'


Vue.use(VueRouter)


export default new VueRouter({
  routes:[
    {path:'/',redirect:'/home'},
    {path:'/home',component:home},
    {path:'/huiyuan',component:huiyuan},
    {path:'/shopping',component:shopping},
    {path:'/search',component:search}
  ],
  linkActiveClass:'mui-active'
})
